package com.token.iot.bratterycharging.boss.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import com.outstanding.framework.core.PendingException;
import com.token.base.order.api.PayItemDTO;
import com.token.iot.bratterycharging.boss.web.DeviceDTO;

@Repository
public interface PayItemDAO {
	
	
	public int delete(@Param("payId")String payId);
	
	int insert(PayItemDTO dto);
	
	public List<PayItemDTO> selectByMerchantID(@Param("merchantPin")String merchantPin) throws  PendingException;


	public List<PayItemDTO> selectByAgentID(@Param("agentId")String agentId) throws  PendingException;
}
